package com.iwe3.protal.service;

import com.github.pagehelper.Page;
import com.iwe3.protal.common.PageResult;
import com.iwe3.protal.entity.BookEntity;

import java.util.List;

public interface IBookService {
    List<BookEntity> list2Top10();

    Page<BookEntity> listAllByTypeId(Integer typeId, Integer currentPage, Integer currentSize);

    BookEntity getById(Long id);
}
